package com.css.zfzx.data.postgresql.qhProbabilityEarthquakeDangerPG.service.impl;

import com.css.zfzx.data.postgresql.qhProbabilityEarthquakeDangerPG.repository.QhProbabilityEarthquakeDangerRepository;
import com.css.zfzx.data.postgresql.qhProbabilityEarthquakeDangerPG.repository.entity.QhProbabilityEarthquakeDangerPostgresqlEntity;
import com.css.zfzx.data.postgresql.qhProbabilityEarthquakeDangerPG.service.QhProbabilityEarthquakeDangerPostgresqlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class QhProbabilityEarthquakeDangerPostgresqlServiceImpl implements QhProbabilityEarthquakeDangerPostgresqlService {
    @Autowired
    private QhProbabilityEarthquakeDangerRepository qhProbabilityEarthquakeDangerRepository;


    @Override
    public void saveData(QhProbabilityEarthquakeDangerPostgresqlEntity postgresqlEntity) {
        qhProbabilityEarthquakeDangerRepository.save(postgresqlEntity);
    }
}
